<?php
// +----------------------------------------------------------------------
// | tpadmin [a web common based ThinkPHP5]
// +----------------------------------------------------------------------
// | Copyright (c) 2016 tianpian
// +----------------------------------------------------------------------
// | Author: tianpian <tianpian0805@gmail.com>
// +----------------------------------------------------------------------

return [
    'options'=>[
     /**
     * 账号基本信息，请从微信公众平台/开放平台获取
     */
    'app_id'  => 'wx1c5d132b616e6ead',         // 公众号AppID
    'secret'  => 'b7a12520984efc9b07f7a203791b886a',     // 公众号AppSecret
    'token'   => '',          // Token
    'aes_key' => '',
    /*小程序信息*/
     'mini_program' => [
            'app_id'   => 'wx1c5d132b616e6ead',  //小程序Appid
            'secret'   => 'b7a12520984efc9b07f7a203791b886a', //小程序AppSecret
            'token'    => '',
            'aes_key'  => ''
        ],
     'payment' => [
            'merchant_id'        => '1465233002',
            'key'                => 'QWBGNGGKRS24RGT56WEGFWEW2VB4DFD5',
            'cert_path'          => 'uploads/cert/apiclient_cert.pem', // XXX: 绝对路径！！！！
            'key_path'           => 'uploads/cert/apiclient_key.pemy',      // XXX: 绝对路径！！！！
            'notify_url'         => 'http://xgapi.xinpear.net/pay/Pay_Return/pay_returns',       // 你也可以在下单时单独设置来想覆盖它
     ],

    ],
    'projecturl'=>[
        'access_token' => 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=',
        'getwxacode'   => 'https://api.weixin.qq.com/wxa/getwxacode?access_token=',
    ],

];
